package com.nsash.dto;

public class Message {
	public String id;
	public MessageData data;

	public Message(String id, MessageData data) {
		this.id = id;
		this.data = data;
	}

	@Override
	public String toString() {
		return data.sender + ": " + data.content;
	}
}